﻿@model Web7.Container.Localization.Language
@{
    var cultures = System.Globalization.CultureInfo.GetCultures(System.Globalization.CultureTypes.SpecificCultures).ToList();
}

@Html.HiddenFor(model => model.Id)
<table>
    <tr>
        <td>
            @T("Language.Model.Name"):
        </td>
        <td>
            @Html.EditorFor(model => model.Name)
            @Html.ValidationMessageFor(model => model.Name)
        </td>
    </tr>
    <tr>
        <td>
            @T("Language.Model.LanguageCulture"):
        </td>
        <td>
            @Html.DropDownListFor(p => p.LanguageCulture, Model.LanguageCultures, new { @height = "900px" })
            @Html.ValidationMessageFor(model => model.LanguageCulture)
        </td>
    </tr>
 
    <tr>
        <td>
            @T("Language.Model.Published"):
        </td>
        <td>
            @Html.EditorFor(model => model.Published)
            @Html.ValidationMessageFor(model => model.Published)
        </td>
    </tr>
    <tr>
        <td>
            @T("Language.Model.DisplayOrder"):
        </td>
        <td>
            @Html.EditorFor(model => model.DisplayOrder)
            @Html.ValidationMessageFor(model => model.DisplayOrder)
        </td>
    </tr>
</table>
